package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * 账户手机号信息
 */
@Getter
@Setter
@Document(collection = "account_mobile_info")
public class AccountMobileInfo extends EntityBase {
    @Indexed
    private String userId;
    @Indexed
    private String mobile;
    /**
     * 验证时间
     */
    private Date checkTime;
    /**
     * IP
     */
    private String ip;
}
